home *** CD-ROM | disk | FTP | other *** search
/ Aminet 52 / Aminet 52 (2002)(GTI - Schatztruhe)[!][Dec 2002].iso / Aminet / util / moni / Scout-src.lha / netinclude / fd / socket_lib.fd < prev    next >
Text File  |  2002-09-16  |  2KB  |  71 lines

  1. *
  2. *      $Id: socket_lib.fd,v 1.1.1.1 2001/11/26 22:21:14 tboeckel Exp $
  3. *
  4. *      fd file for the "bsdsocket.library" version 4
  5. *
  6. *      Copyright © 1994 AmiTCP/IP Group,
  7. *                       Network Solutions Development, Inc.
  8. *                       All rights reserved.
  9. *
  10. ##base _SocketBase
  11. ##bias 30
  12. ##public
  13. *------ BSD Socket System Calls ------
  14. socket(domain, type, protocol)(d0/d1/d2)
  15. bind(s, name, namelen)(d0/a0/d1)
  16. listen(s, backlog)(d0/d1)
  17. accept(s, addr, addrlen)(d0/a0/a1)
  18. connect(s, name, namelen)(d0/a0/d1)
  19. sendto(s, msg, len, flags, to, tolen)(d0/a0/d1/d2/a1/d3)
  20. send(s, msg, len, flags)(d0/a0/d1/d2)
  21. recvfrom(s, buf, len, flags, from, fromlen)(d0/a0/d1/d2/a1/a2)
  22. recv(s, buf, len, flags)(d0/a0/d1/d2)
  23. shutdown(s, how)(d0/d1)
  24. setsockopt(s, level, optname, optval, optlen)(d0/d1/d2/a0/d3)
  25. getsockopt(s, level, optname, optval, optlen)(d0/d1/d2/a0/a1)
  26. getsockname(s, hostname, namelen)(d0/a0/a1)
  27. getpeername(s, hostname, namelen)(d0/a0/a1)
  28. *------ Generic System Calls Related to Sockets
  29. IoctlSocket(d, request, argp)(d0/d1/a0)
  30. CloseSocket(d)(d0)
  31. *------ AmiTCP/IP specific stuff ------
  32. WaitSelect(nfds, readfds, writefds, execptfds, timeout, maskp)(d0/a0/a1/a2/a3/d1)
  33. SetSocketSignals(SIGINTR, SIGIO, SIGURG)(d0/d1/d2)
  34. getdtablesize()()
  35. ObtainSocket(id, domain, type, protocol)(d0/d1/d2/d3)
  36. ReleaseSocket(fd, id)(d0/d1)
  37. ReleaseCopyOfSocket(fd, id)(d0/d1)
  38. Errno()()
  39. SetErrnoPtr(errno_p, size)(a0/d0)
  40. *------ INet library calls related to INet address manipulation ------
  41. Inet_NtoA(in)(d0)
  42. inet_addr(cp)(a0)
  43. Inet_LnaOf(in)(d0)
  44. Inet_NetOf(in)(d0)
  45. Inet_MakeAddr(net, host)(d0/d1)
  46. inet_network(cp)(a0)
  47. *------ NetDB Functions ------ 
  48. gethostbyname(name)(a0)
  49. gethostbyaddr(addr, len, type)(a0/d0/d1)
  50. getnetbyname(name)(a0)
  51. getnetbyaddr(net, type)(d0/d1)
  52. getservbyname(name, proto)(a0/a1)
  53. getservbyport(port, proto)(d0/a0)
  54. getprotobyname(name)(a0)
  55. getprotobynumber(proto)(d0) 
  56. *------ Syslog function ------
  57. vsyslog(level, format, ap)(d0/a0/a1)
  58. *------ AmiTCP/IP 2 extensions ------
  59. Dup2Socket(fd1, fd2)(d0/d1)
  60. *------ AmiTCP/IP version 3 extensions below ------
  61. sendmsg(s, msg, flags)(d0/a0/d1)
  62. recvmsg(s, msg, flags)(d0/a0/d1)
  63. *------ Host identification ------
  64. gethostname(hostname, size)(a0/d0)
  65. gethostid()()
  66. *------ Socket Base manipulation ------
  67. SocketBaseTagList(taglist)(a0)
  68. *------ AmiTCP/IP version 4 extensions below ------
  69. GetSocketEvents(eventmaskp)(a0)
  70. ##end
  71.